package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.math.BigDecimal;
import java.util.Date;

@MappingTable(tableName = "erp_multilevel_activity")
public class MultilevelActivity extends BaseObject{

	@MappingColumn(columnName = "ACTIVITY_ID", columnPk = true, columnLength = 32)
	private String activityId;// 活动id

	@MappingColumn(columnName = "ACTIVITY_LEVEL")
	private Integer activityLevel;// 活动级别

	@MappingColumn(columnName = "ACTIVITY_BOUNTY")
	private BigDecimal activityBounty;// 活动赏金

	@MappingColumn(columnName = "ACTIVITY_GIFT")
	private String activityGift;// 活动赠品

	@MappingColumn(columnName = "ACTIVITY_DURATION")
	private Integer activityDuration;// 有效天数

	@MappingColumn(columnName = "ACTIVITY_PUBLISH_TIME")
	private Date activityPublishTime;// 发布时间

	@MappingColumn(columnName = "ACTIVITY_END_TIME")
	private Date activityEndTime;// 结束时间

	@MappingColumn(columnName = "ACTIVITY_STATE")
	private Integer activityState;// 活动状态（1：有效、2：活动结束、3：已成交）

	@MappingColumn(columnName = "CAR_ID")
	private String carId;// 车辆id

	@MappingTable(tableName = "ERP_CAR")
	private Car car;

	@MappingColumn(columnName = "SHOP_ID")
	private String shopId;// 车商id

	@MappingTable(tableName = "erp_shop")
	private Shop shop;// 车商

	@MappingColumn(columnName = "USER_ID")
	private String userId;// 用户id

	@MappingColumn(columnName = "SALE_USER_ID")
	private String saleUserId;// 成交员工用户id

	@MappingColumn(columnName = "ACTIVITY_CREATE_TIME")
	private Date activityCreateTime;// 创建时间

	@MappingColumn(columnName = "ACTIVITY_UPDATE_TIME")
	private Date activityUpdateTime;// 修改时间

	private String isOrderBy;// 排序字段

	private MultilevelActivityBuy multilevelActivityBuy;// 成交信息

	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	public Integer getActivityLevel() {
		return activityLevel;
	}

	public void setActivityLevel(Integer activityLevel) {
		this.activityLevel = activityLevel;
	}

	public BigDecimal getActivityBounty() {
		return activityBounty;
	}

	public void setActivityBounty(BigDecimal activityBounty) {
		this.activityBounty = activityBounty;
	}

	public String getActivityGift() {
		return activityGift;
	}

	public void setActivityGift(String activityGift) {
		this.activityGift = activityGift;
	}

	public Integer getActivityDuration() {
		return activityDuration;
	}

	public void setActivityDuration(Integer activityDuration) {
		this.activityDuration = activityDuration;
	}

	public Date getActivityPublishTime() {
		return activityPublishTime;
	}

	public void setActivityPublishTime(Date activityPublishTime) {
		this.activityPublishTime = activityPublishTime;
	}

	public Date getActivityEndTime() {
		return activityEndTime;
	}

	public void setActivityEndTime(Date activityEndTime) {
		this.activityEndTime = activityEndTime;
	}

	public Integer getActivityState() {
		return activityState;
	}

	public void setActivityState(Integer activityState) {
		this.activityState = activityState;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getSaleUserId() {
		return saleUserId;
	}

	public void setSaleUserId(String saleUserId) {
		this.saleUserId = saleUserId;
	}

	public Date getActivityCreateTime() {
		return activityCreateTime;
	}

	public void setActivityCreateTime(Date activityCreateTime) {
		this.activityCreateTime = activityCreateTime;
	}

	public Date getActivityUpdateTime() {
		return activityUpdateTime;
	}

	public void setActivityUpdateTime(Date activityUpdateTime) {
		this.activityUpdateTime = activityUpdateTime;
	}

	public MultilevelActivityBuy getMultilevelActivityBuy() {
		return multilevelActivityBuy;
	}

	public void setMultilevelActivityBuy(MultilevelActivityBuy multilevelActivityBuy) {
		this.multilevelActivityBuy = multilevelActivityBuy;
	}

	public String getIsOrderBy() {
		return isOrderBy;
	}

	public void setIsOrderBy(String isOrderBy) {
		this.isOrderBy = isOrderBy;
	}
}
